<!-- scope参数为false、true、{}-->
<!--<div >
    <h3>指令scope参数——false、true、{}对比测试</h3>
    parent:
    <div>
        <span> {{parentName}}</span>
        <input type="text" ng-model="parentName" />
    </div>
    <br />
    <child-a></child-a>
    <br />
    <child-b></child-b>
    <br />
    <child-c parent-name="parentName"></child-c>
</div>
&lt;!&ndash;t1指令模板&ndash;&gt;
<script type="text/html" id="t1">
    <div>
        <span>{{parentName}}</span>
        <input type="text" ng-model="parentName" />
    </div>
</script>-->

<!-----------------------------我是分割线--------------------------------------------->

<!--<div>-->
    <!--parent:-->
    <!--<p><span>{{name}}</span><input type="text" ng-model="name" /></p>-->
    <!--<p><span>{{sexy}}</span><input type="text" ng-model="sexy" /></p>-->
    <!--<p><span>{{age}}</span><input type="text" ng-model="age" /></p>-->
    <!--<br />-->

<!--&lt;!&ndash;特别注意：@与=对应的attr，@是单向绑定父域的机制，记得加上{{}}；&对应的attrName必须以on-开头&ndash;&gt;-->
<!--<child-c my-name="name" my-sexy="sexy" my-age="{{age}}" on-say="say('i m ' + name)"></child-c>-->
<!--</div>-->

<!--&lt;!&ndash;t1指令模板&ndash;&gt;-->
<!--<script type="text/html" id="t1">-->
    <!--<div>-->
        <!--<span>{{myName}}</span>-->
        <!--<input type="text" ng-model="myName" />-->
    <!--</div>-->
    <!--<div>-->
        <!--<span>{{mySexy}}</span>-->
        <!--<input type="text" ng-model="mySexy" />-->
    <!--</div>-->
    <!--<div>-->
        <!--<span>{{myAge}}</span>-->
        <!--<input type="text" ng-model="myAge" />-->
    <!--</div>-->
<!--</script>-->
<!-------------------------------------------------------------------------------------->
<!--<form role="form" novalidate="novalidate" ng-submit="submit()" class="ng-invalid ng-invalid-required ng-invalid-mustcontainword ng-dirty ng-invalid-email ng-valid-minlength">-->
    <!--<div class="form-group has-error has-feedback">-->
        <!--<label class="control-label">Name</label>-->
        <!--<input type="text" class="form-control ng-dirty ng-invalid ng-invalid-required" placeholder="Enter Name" ng-model="testUser.userName" required="required" required-err-type="nameRequired"><span class="glyphicon glyphicon-remove form-control-feedback"></span><span class="help-block has-error error-msg">Please enter your name :-)</span>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label">Email address - <small>Element with a custom element modifier (see source code)</small></label>-->
        <!--<input type="email" class="form-control ng-dirty bg-red ng-valid-required ng-invalid ng-invalid-email" placeholder="Enter email" ng-model="user.email" required="required" element-modifier="myCustomModifierKey">-->
    <!--</div>-->
    <!--<div class="form-group has-error has-feedback">-->
        <!--<label class="control-label">Password - <small>Element with validation happening on blur rather than change</small></label>-->
        <!--<input type="password" class="form-control ng-dirty ng-invalid ng-invalid-required ng-valid-minlength" ng-model="user.password" placeholder="Password" required="required" ng-minlength="6" ng-model-options="{updateOn: 'blur'}"><span class="glyphicon glyphicon-remove form-control-feedback"></span><span class="help-block has-error error-msg">This field is required</span>-->
    <!--</div>-->
    <!--<div class="form-group has-error has-feedback">-->
        <!--<label class="control-label">Robot Test: Please spell Angular. - <small>Custom validation</small></label>-->
        <!--<input type="text" class="form-control ng-invalid ng-invalid-mustcontainword ng-dirty" placeholder="Enter The Word Angular" ng-model="user.iq" mustcontainword="angular"><span class="glyphicon glyphicon-remove form-control-feedback"></span><span class="help-block has-error error-msg">Please enter the word "angular"</span>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label class="control-label">Valid Visual Styling Disabled At Element Level</label>-->
        <!--<input type="text" class="form-control ng-pristine ng-invalid ng-invalid-required" placeholder="Please enter a value - this is required" ng-model="user.somePropertyA" required="" disable-valid-styling="true">-->
    <!--</div>-->

    <!--<button type="submit" class="btn btn-primary">Submit</button>-->
    <!--<button type="reset" class="btn btn-default">Reset</button>-->
<!--</form>-->




<form name="signupFrm" novalidate="novalidate" ng-submit="submit();" ng-submit-force="true">
    <!--<div class="form-group">-->
        <!--<label class="control-label">Username:</label>-->
        <!--<input name="username" class="form-control"-->
               <!--ng-model="model.username"-->
               <!--ng-minlength="3"-->
               <!--ng-maxlength="10"-->
               <!--required/>-->
    <!--</div>-->

    <div class="form-group-row">
        <div class="form-group">
            <label class="col-md-2 control-label">客户名称：</label>
            <div class="col-md-4">
                <input type="text" class="form-control" name="customerName"
                       ng-model="customer.customerName" required >
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label"><span class="required">*</span>客户名称1：</label>
            <div class="col-md-4">
                <input type="text" class="form-control" name="customerName1"
                       ng-model="customer.customerName1" required >
            </div>
        </div>
    </div>
    <div class="form-group">
        <button type="submit" class="btn btn-primary">Submit</button>
        <button type="reset" class="btn btn-default">Reset</button>
    </div>

</form>


